﻿@{
    ViewBag.Title = "设备档案编辑";
    Layout = "~/Views/Shared/_ManufactureList.cshtml";
}
<link href="~/Content/css/common.css" rel="stylesheet" />
<link href="~/Content/css/EquipmentArchiveAdd.css" rel="stylesheet" />
<style type="text/css">
  

</style>
<script type="text/javascript">
    $(function () {
        Index.init();
    });

    var Index = {
        jsonData:@Html.Raw(ViewData["jsonData"].ToString()),
        EquipType: null,
        specials:"EquipUnit,EquipWorkshop,EquipNO,EquipName".split(","),
        init: function () {
            with (Index) {
                initControl();

                $.renderMy97Datepicker();
                //新增则不加载数据
                !!Index.jsonData && loadData();

                $('select').bindSelect();
                
                $("#EquipType").trigger("change");

            }
        },
        initControl: function () {
            var template = $("#butnAdd").html(),obj={val:"新增",icon:"plus"};

            !!Index.jsonData && (function () {
                obj={val:"修改",icon:"edit"};

                $("#EquipType").attr("disabled",true);
            })();

            $("#butnAdd").html(template.format(obj));
            //使用单位
            $("#EquipUnit").bindSelect({
                url: "/Mould/MouldArchive/GetUseUnits",
                id: "MakeLineNO",
                text: "MakeLineNOMakeLineShortName"
            });
            //使用车间
            $("#EquipWorkshop").bindSelect({
                url: "/Mould/MouldArchive/GetUseUnits",
                id: "MakeLineNO",
                text: "MakeLineNOMakeLineShortName"
            });
            //制造单位
            $("#ManuUnit").bindSelect({
                url: "/BaseData/ZSJ_B1_GH_SI/GetGridJson?isProduct=1",
                id: "UnitNO",
                text: "UnitNOShortName"
            });
            //设备类别
            $("#EquipType").bindSelect({
                url: "/BaseData/MouldArchive/GetModCategories?FClassNO=26",
                id: "FTypeNO",
                text: "FTypeNOName"
            });
            //使用情况
            $("#UseSituation").bindSelect({
                url: "/BaseData/MouldArchive/GetModCategories?FClassNO=27",
                id: "FTypeNO",
                text: "FTypeNOName"
            });
            //用途情况
            $("#EffectSituation").bindSelect({
                url: "/BaseData/MouldArchive/GetModCategories?FClassNO=28",
                id: "FTypeNO",
                text: "FTypeNOName"
            });
            //设备线位
            $("#EquipLine").bindSelect({
                url: "/BaseData/MouldArchive/GetModCategories?FClassNO=25",
                id: "FTypeNO",
                text: "FTypeNOName"
            });

            $("#EquipType").on("change",function(){
                var types = "S1,S2,S3,S4".split(","),index=0,val=$(this).val();

                !!val && (function(){
                    index = types.indexOf(val);

                    (0<= index) || (index = 4);

                    $("#myTab").find("li:first").siblings().find("a")
                                        .attr("disabled","diabled")
                                        .removeAttr("data-toggle");

                    $("#myTab").find("li:eq({0}) a".format(index+1))
                                        .removeAttr("disabled")
                                        .attr("data-toggle","tab");
                })();
            });

            Index.specials.forEach(function(item){
                $("#{0}".format(item)).on("change",function(){
                    $("[name={0}]".format(item)).val($(this).val());
                });
            });

            $("#butnAdd").on("click",function(){
                var types = "S1,S2,S3,S4".split(","),sType="",t=",#{0}  .input_c_numeric input";

                !!$("#EquipType").val() && (sType = t.format($("#EquipType").val()));

                (!!$("#EquipType").val() && 0 > types.indexOf($("#EquipType").val())) && (sType=t.format("S5"));
          
                !!$("#EquipType").val() || (sType="");
                //有值则表示修改
                Index.jsonData && (function(){//有验证失败的文本框
                    Index.validateToControl($("#S0 .required_c input,#S0 .required_c select").toArray(),/^\S+$/ig,"此项为必填项！","error_input") & 
                    Index.validateToControl($("#S0 .input_c_numeric input{0}".format(sType)).toArray(),/^0$|^[1-9]\d*\.\d*$|^0\.\d*[1-9]\d*$|(^[1-9]\d*$)/ig,"只容许输入数字！","error_input")
                    &&  Index.add("修改");

                    !!$.request("page") && !!$.request("idx") &&(function(page,idx){
                        $.currentWindow().location.href = "/BaseData/EquipmentArchive/EquipmentArchiveManagement?&index={0}&idx={1}".format(page,idx);
                    })($.request("page"),$.request("idx"));
                })();
                //空值则表示新增
                Index.jsonData || (function(){
                    Index.validateToControl($("#S0 .required_c input,#S0 .required_c select").toArray(),/^\S+$/ig,"此项为必填项！","error_input") &
                    Index.validateToControl($("#S0 .input_c_numeric input{0}".format(sType)).toArray(),/^0$|^[1-9]\d*\.\d*$|^0\.\d*[1-9]\d*$|(^[1-9]\d*$)/ig,"只容许输入数字！","error_input")
                    && Index.add("添加");
                })();
            });

            $("#butnCancel").on("click",function(){

                
                var index = top.layer.getFrameIndex("dlgEquipmentAdd");

                top.layer.close(index);
            });
        },
        loadData: function () {
            for(var idx in Index.specials){
                var item = Index.specials[idx];

                $("[name={0}]".format(item)).val(Index.jsonData[item]);
            }
            for (var idx in Index.jsonData) {
                $("#{0}".format(idx)).val(Index.jsonData[idx]);
            }
        },
        validateToControl:function(cs,regular,errMsg,errInfoCls){
            var template = "<div class=\"err_msg_c\"> <div class=\"err_msg_icon\"></div> <div class=\"err_msg\">{0}</div> </div>";
            cs.forEach(function(item){
                regular.lastIndex = 0;
                var foo = regular.test($.trim($(item).val()));
                foo || (function(cur){
                    cur.addClass(errInfoCls);

                    !cur.parents(".input_c").find(".err_msg_c").length &&  
                    cur.parents(".input_c").append(template.format(errMsg));
                })($(item));

                foo && (function(cur){
                    cur.removeClass(errInfoCls);

                    cur.parents(".input_c").find(".err_msg_c").remove();
                    
                })($(item));
            });
            //如果所有控件验证正确则len为0
            return !$(".error_input").length;
        },
        add: function (tips) {
            var cols = "EquipID,EquipUnit,EquipNO,EquipModel,EquipLine,EquipType,ManuUnit,manufactNo,EquValue,UseSituation,EquipWorkshop,EquipName,JFDF,PositionNumber,AssetNumber,EquNumber,EnableDate,DepreYears,EffectSituation,MoldExplain".split(",");

            var S1 = "CY_EngPressure,CY_MaxCloseHei,CY_LoadMoleReguHei,CY_SlideTripNum_Space,CY_SlideTrip,CY_SlideBotSize,CY_HitbarTrip,CY_AirCushTrip,CY_EngWeight,CY_SubElecSum,CY_EngPreTrip,CY_MaxLoadModeHei,CY_PlateThick,CY_SlideTripNum,CY_TableSize,CY_HitbarsNum,CY_AirCushNum,CY_AirCushPressure,CY_TopRodHoleSize,CY_SubElecPower".split(",");

            var S2 = "KJ_PlateWidth,KJ_MStrength,KJ_Inradium,KJ_KJJLoadWeight,KJ_PlateThick,KJ_LengthRange,KJ_Extadium,KJ_SJJLoadWeight".split(",");

            var S3 = "EquipNO,JQ_PlateWidth,EquipName,JQ_PlateThick".split(",");
            
            var S4 = "QX_Mthick,QX_Mlength,QX_LPMaxWeight,QX_LDMaxWeight,QX_Mwidth,QX_OilFilm,QX_FiltAccu,QX_CleanAccuracy".split(",");

            var S5 = "TC_XCZDLJ,TC_ZQSQZL,TC_ZQSZDSQGD,TC_ZQSJTZJ,TC_DCZDLJ,DHL_DCZDLJ,DHL_QSQZL,TC_XCBDLJ,TC_FQSQZL,TC_FQSZDSQGD,TC_FQSJTZJ,TC_DCBDLJ,DHL_DCBDLJ,DHL_ZDQSGD".split(",");

            var oCols = {
                "S1":S1,
                "S2":S2,
                "S3":S3,
                "S4":S4};

            var obj = {};

            for (var idx in cols) {
                obj[cols[idx]] = $("#{0}".format(cols[idx])).val();
            }
            
            Index.EquipType = $("#EquipType").val();

            Index.EquipType in oCols || (Index.EquipType="S5");

            for (var idx in oCols[Index.EquipType]) {
                cur = oCols[Index.EquipType][idx];
                
                obj[cur] = $("#{0}".format(cur)).val();
            }

            var param = { param: JSON.stringify(obj) };

            $.post("/Equipment/EquipmentArchive/UpdateEquipmentArchive", param, function (res) {
                0 < res && $.modalAlert("{0}成功！".format(tips), "success");
            }, "json");
        }
    };



</script>
<div id="layout">

    <h1>请输入基本信息</h1>
    <div class="container">
        <ul id="myTab" class="nav nav-tabs" style="">
            <li class="active"><a href="#S0" data-toggle="tab">基本信息</a></li>
            <li><a disabled href="#S1">压力机</a></li>
            <li><a disabled href="#S2">开卷线</a></li>
            <li><a disabled href="#S3">剪切机</a></li>
            <li><a disabled href="#S4">清洗线</a></li>
            <li><a disabled href="#S5">其他</a></li>
        </ul>
        <div id="myTabContent" class="tab-content">
            <div class="tab-pane fade in active" id="S0">
                <ul class="form_list">
                    <li class="form_item form_item_a">
                        <h2 class="form_item_title">使用单位 
                            <input type="hidden" id="EquipID" /></h2>
                        <div class="input_c input_c_selected required_c">
                            <select id="EquipUnit" class="sel_common EquipUnit">
                                <option value="">请选择</option>
                            </select>
                        </div>
                        <div class="after">*</div>
                    </li>
                    <li class="form_item form_item_a">
                        <h2 class="form_item_title">使用车间</h2>
                        <div class="input_c input_c_selected required_c">
                            <select id="EquipWorkshop" class="sel_common EquipWorkshop">
                                <option value="">请选择</option>
                            </select>
                        </div>
                        <div class="after">*</div>
                    </li>
                    <li class="form_item form_item_a">
                        <h2 class="form_item_title">设备编号</h2>
                        <div class="input_c input_c_normal required_c">
                            <input id="EquipNO" name="" placeholder="" type="text" class="form-control required" />
                        </div>
                        <div class="after">*</div>
                    </li>
                    <li class="form_item form_item_a">
                        <h2 class="form_item_title">设备名称</h2>
                        <div class="input_c required_c">
                            <input id="EquipName" name="" placeholder="" type="text" class="form-control required" />
                        </div>
                        <div class="after">*</div>
                    </li>
                    <li class="form_item form_item_a">
                        <h2 class="form_item_title">设备型号</h2>
                        <div class="input_c input_c_normal required_c">
                            <input id="EquipModel" name="" placeholder="" type="text" class="form-control required" />
                        </div>
                        <div class="after">*</div>
                    </li>
                    <li class="form_item form_item_a">
                        <h2 class="form_item_title">JF/DF</h2>
                        <div class="input_c input_c_short required_c">
                            <input id="JFDF" name="" placeholder="" type="text" class="form-control required" />
                        </div>
                        <div class="after">*</div>
                    </li>
                    <li class="form_item form_item_a">
                        <h2 class="form_item_title">设备线位</h2>
                        <div class="input_c input_c_selected required_c">
                            <select id="EquipLine" class="sel_common EquipLine">
                                <option value="">请选择</option>
                            </select>
                        </div>
                        <div class="after">*</div>
                    </li>
                    <li class="form_item form_item_a">
                        <h2 class="form_item_title">位置号</h2>
                        <div class="input_c input_c_short required_c">
                            <input id="PositionNumber" name="" placeholder="" type="text" class="form-control required" />
                        </div>
                        <div class="after">*</div>
                    </li>
                    <li class="form_item form_item_a">
                        <h2 class="form_item_title">设备类别</h2>
                        <div class="input_c input_c_selected required_c">
                            <select id="EquipType" class="sel_common ProductUnit">
                                <option value="">请选择</option>
                            </select>
                        </div>
                        <div class="after">*</div>
                    </li>
                    <li class="form_item form_item_a">
                        <h2 class="form_item_title">资产编号</h2>
                        <div class="input_c input_c_normal required_c">
                            <input id="AssetNumber" name="" placeholder="" type="text" class="form-control required" />
                        </div>
                        <div class="after">*</div>
                    </li>
                    <li class="form_item form_item_a">
                        <h2 class="form_item_title">制造单位</h2>
                        <div class="input_c input_c_selected required_c">
                            <select id="ManuUnit" class="sel_common ManuUnit">
                                <option value="">请选择</option>
                            </select>
                        </div>
                        <div class="after">*</div>
                    </li>
                    <li class="form_item">
                        <h2 class="form_item_title">设备数量</h2>
                        <div class="input_c  input_c_short input_c_numeric">
                            <input id="EquNumber" name="" placeholder="" type="text" class="form-control required" />
                        </div>
                    </li>
                    <li class="form_item">
                        <h2 class="form_item_title">出厂编号</h2>
                        <div class="input_c input_c_normal">
                            <input id="manufactNo" name="" placeholder="" type="text" class="form-control required" />
                        </div>
                    </li>
                    <li class="form_item">
                        <h2 class="form_item_title">启用日期</h2>
                        <div class="input_c input_c_short">
                            <input id="EnableDate" name="" placeholder="" my97date="yyyy-MM-dd" type="text" class="form-control required" />
                        </div>
                    </li>
                    <li class="form_item form_item_a">
                        <h2 class="form_item_title">设备原值</h2>
                        <div class="input_c input_c_short input_c_numeric">
                            <input id="EquValue" name="" placeholder="" type="text" class="form-control required" />
                        </div>
                        <div class="aftern">万元</div>
                    </li>
                    <li class="form_item form_item_a">
                        <h2 class="form_item_title">折旧年限</h2>
                        <div class="input_c input_c_short input_c_numeric">
                            <input id="DepreYears" name="" placeholder="" type="text" class="form-control required" />
                        </div>
                        <div class="aftern">年</div>
                    </li>
                    <li class="form_item">
                        <h2 class="form_item_title">使用情况</h2>
                        <div class="input_c input_c_selected">
                            <select id="UseSituation" class="sel_common UseSituation">
                                <option value="">请选择</option>
                            </select>
                        </div>
                    </li>
                    <li class="form_item">
                        <h2 class="form_item_title">用途情况</h2>
                        <div class="input_c input_c_selected">
                            <select id="EffectSituation" class="sel_common ProductUnit">
                                <option value="">请选择</option>
                            </select>
                        </div>
                    </li>
                    <li class="form_item">
                        <h2 class="form_item_title">备注说明</h2>
                        <div class="input_c">
                            <input id="MoldExplain" name="" placeholder="" type="text" class="form-control required" />
                        </div>
                    </li>
                    <li class="clear"></li>
                </ul>
            </div>
            <div class="tab-pane fade" id="S1">
                <ul class="form_list S S1">
                    <li class="form_item">
                        <h2 class="form_item_title">使用单位</h2>
                        <div class="input_c input_c_normal">
                            <input name="EquipUnit" placeholder="" readonly="readonly" type="text" class="form-control required" />
                        </div>
                    </li>
                    <li class="form_item">
                        <h2 class="form_item_title">使用车间</h2>
                        <div class="input_c input_c_normal">
                            <input name="EquipWorkshop" placeholder="" readonly="readonly" type="text" class="form-control required" />
                        </div>
                    </li>
                    <li class="form_item">
                        <h2 class="form_item_title">设备编号</h2>
                        <div class="input_c input_c_normal">
                            <input name="EquipNO" placeholder="" readonly="readonly" type="text" class="form-control required" />
                        </div>
                    </li>
                    <li class="form_item">
                        <h2 class="form_item_title">设备名称</h2>
                        <div class="input_c">
                            <input name="EquipName" placeholder="" readonly="readonly" type="text" class="form-control required" />
                        </div>
                    </li>
                    <li class="form_item form_item_a">
                        <h2 class="form_item_title">公程压力</h2>
                        <div class="input_c input_c_short input_c_numeric">
                            <input id="CY_EngPressure" name="" placeholder="" type="text" class="form-control required" />
                        </div>
                        <div class="aftern">KN</div>
                    </li>
                    <li class="form_item form_item_a">
                        <h2 class="form_item_title">公程压力行程</h2>
                        <div class="input_c input_c_short input_c_numeric">
                            <input id="CY_EngPreTrip" name="" placeholder="" type="text" class="form-control required" />
                        </div>
                        <div class="aftern">mm</div>
                    </li>
                    <li class="form_item form_item_a">
                        <h2 class="form_item_title">最大闭合高度</h2>
                        <div class="input_c input_c_short input_c_numeric">
                            <input id="CY_MaxCloseHei" name="" placeholder="" type="text" class="form-control required" />
                        </div>
                        <div class="aftern">mm</div>
                    </li>
                    <li class="form_item form_item_a">
                        <h2 class="form_item_title">最大装模高度</h2>
                        <div class="input_c input_c_short input_c_numeric">
                            <input id="CY_MaxLoadModeHei" name="" placeholder="" type="text" class="form-control required" />
                        </div>
                        <div class="aftern">mm</div>
                    </li>
                    <li class="form_item form_item_a">
                        <h2 class="form_item_title">装模高度调节量</h2>
                        <div class="input_c input_c_short input_c_numeric">
                            <input id="CY_LoadMoleReguHei" name="" placeholder="" type="text" class="form-control required" />
                        </div>
                        <div class="aftern">mm</div>
                    </li>
                    <li class="form_item form_item_a">
                        <h2 class="form_item_title">垫板厚度</h2>
                        <div class="input_c input_c_short input_c_numeric">
                            <input id="CY_PlateThick" name="" placeholder="" type="text" class="form-control required" />
                        </div>
                        <div class="aftern">mm</div>
                    </li>
                    <li class="form_item form_item_a">
                        <h2 class="form_item_title">滑块行程间隔</h2>
                        <div class="input_c input_c_short input_c_numeric">
                            <input id="CY_SlideTripNum_Space" name="" placeholder="" type="text" class="form-control required" />
                        </div>
                        <div class="aftern">mm</div>
                    </li>
                    <li class="form_item form_item_a">
                        <h2 class="form_item_title">滑块行程次数</h2>
                        <div class="input_c input_c_short input_c_numeric">
                            <input id="CY_SlideTripNum" name="" placeholder="" type="text" class="form-control required" />
                        </div>
                        <div class="aftern">次/分</div>
                    </li>
                    <li class="form_item form_item_a">
                        <h2 class="form_item_title">滑块行程</h2>
                        <div class="input_c input_c_short input_c_numeric">
                            <input id="CY_SlideTrip" name="" placeholder="" type="text" class="form-control required" />
                        </div>
                        <div class="aftern">mm</div>
                    </li>
                    <li class="form_item form_item_a">
                        <h2 class="form_item_title">工作台面尺寸</h2>
                        <div class="input_c input_c_short input_c_numeric">
                            <input id="CY_TableSize" name="" placeholder="" type="text" class="form-control required" />
                        </div>
                        <div class="aftern">mm</div>
                    </li>
                    <li class="form_item form_item_a">
                        <h2 class="form_item_title">滑块底面尺寸</h2>
                        <div class="input_c input_c_short">
                            <input id="CY_SlideBotSize" name="" placeholder="" type="text" class="form-control required" />
                        </div>
                        <div class="aftern">mm</div>
                    </li>
                    <li class="form_item form_item_a">
                        <h2 class="form_item_title">打杆数量</h2>
                        <div class="input_c input_c_short input_c_numeric">
                            <input id="CY_HitbarsNum" name="" placeholder="" type="text" class="form-control required" />
                        </div>
                        <div class="aftern">件</div>
                    </li>
                    <li class="form_item form_item_a">
                        <h2 class="form_item_title">打杆行程</h2>
                        <div class="input_c">
                            <input id="CY_HitbarTrip input_c_short input_c_numeric" name="" placeholder="" type="text" class="form-control required" />
                        </div>
                        <div class="aftern">mm</div>
                    </li>
                    <li class="form_item form_item_a">
                        <h2 class="form_item_title">气垫数量</h2>
                        <div class="input_c input_c_short input_c_numeric">
                            <input id="CY_AirCushNum" name="" placeholder="" type="text" class="form-control required" />
                        </div>
                        <div class="aftern">件</div>
                    </li>
                    <li class="form_item form_item_a">
                        <h2 class="form_item_title">气垫行程</h2>
                        <div class="input_c input_c_short input_c_numeric">
                            <input id="CY_AirCushTrip" name="" placeholder="" type="text" class="form-control required" />
                        </div>
                        <div class="aftern">mm</div>
                    </li>
                    <li class="form_item form_item_a">
                        <h2 class="form_item_title">气垫压力</h2>
                        <div class="input_c">
                            <input id="CY_AirCushPressure input_c_short input_c_numeric" name="" placeholder="" type="text" class="form-control required" />
                        </div>
                        <div class="aftern">KN</div>
                    </li>
                    <li class="form_item form_item_a">
                        <h2 class="form_item_title">设备重量</h2>
                        <div class="input_c input_c_short input_c_numeric">
                            <input id="CY_EngWeight" name="" placeholder="" type="text" class="form-control required" />
                        </div>
                        <div class="aftern">吨</div>
                    </li>
                    <li class="form_item form_item_a">
                        <h2 class="form_item_title">顶杆孔位尺寸</h2>
                        <div class="input_c input_c_short input_c_numeric">
                            <input id="CY_TopRodHoleSize" name="" placeholder="" type="text" class="form-control required" />
                        </div>
                        <div class="aftern">mm</div>
                    </li>
                    <li class="form_item form_item_a">
                        <h2 class="form_item_title">附属电机数量</h2>
                        <div class="input_c input_c_short input_c_numeric">
                            <input id="CY_SubElecSum" name="" placeholder="" type="text" class="form-control required" />
                        </div>
                        <div class="aftern">件</div>
                    </li>
                    <li class="form_item form_item_a">
                        <h2 class="form_item_title">附属电机功率</h2>
                        <div class="input_c">
                            <input id="CY_SubElecPower input_c_short input_c_numeric" name="" placeholder="" type="text" class="form-control required" />
                        </div>
                        <div class="aftern">W</div>
                    </li>

                    <li class="clear"></li>
                </ul>
            </div>
            <div class="tab-pane fade" id="S2">
                <ul class="form_list S S2">
                    <li class="form_item">
                        <h2 class="form_item_title">使用单位</h2>
                        <div class="input_c input_c_normal">
                            <input name="EquipUnit" placeholder="" readonly="readonly" type="text" class="form-control required" />
                        </div>
                    </li>
                    <li class="form_item">
                        <h2 class="form_item_title">使用车间</h2>
                        <div class="input_c input_c_normal">
                            <input name="EquipWorkshop" placeholder="" readonly="readonly" type="text" class="form-control required" />
                        </div>
                    </li>
                    <li class="form_item">
                        <h2 class="form_item_title">设备编号</h2>
                        <div class="input_c input_c_normal">
                            <input name="EquipNO" placeholder="" readonly="readonly" type="text" class="form-control required" />
                        </div>
                    </li>
                    <li class="form_item">
                        <h2 class="form_item_title">设备名称</h2>
                        <div class="input_c">
                            <input name="EquipName" placeholder="" readonly="readonly" type="text" class="form-control required" />
                        </div>
                    </li>
                    <li class="form_item">
                        <h2 class="form_item_title">可加工板宽</h2>
                        <div class="input_c input_c_short input_c_numeric">
                            <input id="KJ_PlateWidth" name="" placeholder="" type="text" class="form-control required" />
                        </div>
                    </li>
                    <li class="form_item form_item_a">
                        <h2 class="form_item_title">可加工板厚</h2>
                        <div class="input_c input_c_short input_c_numeric">
                            <input id="KJ_PlateThick" name="" placeholder="" type="text" class="form-control required" />
                        </div>
                        <div class="aftern">mm</div>
                    </li>
                    <li class="form_item form_item_a">
                        <h2 class="form_item_title">剪切材料强度</h2>
                        <div class="input_c input_c_short input_c_numeric">
                            <input id="KJ_MStrength" name="" placeholder="" type="text" class="form-control required" />
                        </div>
                        <div class="aftern">mm</div>
                    </li>
                    <li class="form_item form_item_a">
                        <h2 class="form_item_title">剪切长度范围</h2>
                        <div class="input_c input_c_short input_c_numeric">
                            <input id="KJ_LengthRange" name="" placeholder="" type="text" class="form-control required" />
                        </div>
                        <div class="aftern">mm</div>
                    </li>
                    <li class="form_item form_item_a">
                        <h2 class="form_item_title">允许钢卷内径Φ</h2>
                        <div class="input_c input_c_short input_c_numeric">
                            <input id="KJ_Inradium" name="" placeholder="" type="text" class="form-control required" />
                        </div>
                        <div class="aftern">mm</div>
                    </li>
                    <li class="form_item form_item_a">
                        <h2 class="form_item_title">允许钢卷外径</h2>
                        <div class="input_c input_c_short input_c_numeric">
                            <input id="KJ_Extadium" name="" placeholder="" type="text" class="form-control required" />
                        </div>
                        <div class="aftern">mm</div>
                    </li>
                    <li class="form_item form_item_a">
                        <h2 class="form_item_title">开卷机最大载重量</h2>
                        <div class="input_c input_c_short input_c_numeric">
                            <input id="KJ_KJJLoadWeight" name="" placeholder="" type="text" class="form-control required" />
                        </div>
                        <div class="aftern">kg</div>
                    </li>
                    <li class="form_item form_item_a">
                        <h2 class="form_item_title">升降台最大载重量</h2>
                        <div class="input_c input_c_short input_c_numeric">
                            <input id="KJ_SJJLoadWeight" name="" placeholder="" type="text" class="form-control required" />
                        </div>
                        <div class="aftern">kg</div>
                    </li>
                    <li class="clear"></li>
                </ul>
            </div>
            <div class="tab-pane fade" id="S3">
                <ul class="form_list S S3">
                    <li class="form_item">
                        <h2 class="form_item_title">使用单位</h2>
                        <div class="input_c input_c_normal">
                            <input name="EquipUnit" placeholder="" readonly="readonly" type="text" class="form-control required" />
                        </div>
                    </li>
                    <li class="form_item">
                        <h2 class="form_item_title">使用车间</h2>
                        <div class="input_c input_c_normal">
                            <input name="EquipWorkshop" placeholder="" readonly="readonly" type="text" class="form-control required" />
                        </div>
                    </li>
                    <li class="form_item">
                        <h2 class="form_item_title">设备编号</h2>
                        <div class="input_c input_c_normal">
                            <input name="EquipNO" placeholder="" readonly="readonly" type="text" class="form-control required" />
                        </div>
                    </li>
                    <li class="form_item">
                        <h2 class="form_item_title">设备名称</h2>
                        <div class="input_c">
                            <input name="EquipName" placeholder="" readonly="readonly" type="text" class="form-control required" />
                        </div>
                    </li>
                    <li class="form_item form_item_a">
                        <h2 class="form_item_title">可剪板宽</h2>
                        <div class="input_c input_c_short input_c_numeric">
                            <input id="JQ_PlateWidth" name="" placeholder="" type="text" class="form-control required" />
                        </div>
                        <div class="aftern">mm</div>
                    </li>
                    <li class="form_item form_item_a">
                        <h2 class="form_item_title">可剪板厚</h2>
                        <div class="input_c input_c_short input_c_numeric">
                            <input id="JQ_PlateThick" name="" placeholder="" type="text" class="form-control required" />
                        </div>
                        <div class="aftern">mm</div>
                    </li>
                    <li class="clear"></li>
                </ul>
            </div>
            <div class="tab-pane fade" id="S4">
                <ul class="form_list S S4">
                    <li class="form_item">
                        <h2 class="form_item_title">使用单位</h2>
                        <div class="input_c input_c_normal">
                            <input name="EquipUnit" placeholder="" readonly="readonly" type="text" class="form-control required" />
                        </div>
                    </li>
                    <li class="form_item">
                        <h2 class="form_item_title">使用车间</h2>
                        <div class="input_c input_c_normal">
                            <input name="EquipWorkshop" placeholder="" readonly="readonly" type="text" class="form-control required" />
                        </div>
                    </li>
                    <li class="form_item">
                        <h2 class="form_item_title">设备编号</h2>
                        <div class="input_c input_c_normal">
                            <input name="EquipNO" placeholder="" readonly="readonly" type="text" class="form-control required" />
                        </div>
                    </li>
                    <li class="form_item">
                        <h2 class="form_item_title">设备名称</h2>
                        <div class="input_c">
                            <input name="EquipName" placeholder="" readonly="readonly" type="text" class="form-control required" />
                        </div>
                    </li>
                    <li class="form_item form_item_a">
                        <h2 class="form_item_title">材料厚度</h2>
                        <div class="input_c input_c_short input_c_numeric">
                            <input id="QX_Mthick" name="" placeholder="" type="text" class="form-control required" />
                        </div>
                        <div class="aftern">mm</div>
                    </li>
                    <li class="form_item form_item_a">
                        <h2 class="form_item_title">材料宽度</h2>
                        <div class="input_c input_c_short input_c_numeric">
                            <input id="QX_Mwidth" name="" placeholder="" type="text" class="form-control required" />
                        </div>
                        <div class="aftern">mm</div>
                    </li>
                    <li class="form_item form_item_a">
                        <h2 class="form_item_title">材料长度</h2>
                        <div class="input_c input_c_short input_c_numeric">
                            <input id="QX_Mlength" name="" placeholder="" type="text" class="form-control required" />
                        </div>
                        <div class="aftern">mm</div>
                    </li>
                    <li class="form_item form_item_a">
                        <h2 class="form_item_title">油膜厚度</h2>
                        <div class="input_c input_c_short input_c_numeric">
                            <input id="QX_OilFilm" name="" placeholder="" type="text" class="form-control required" />
                        </div>
                        <div class="aftern">g/m2</div>
                    </li>
                    <li class="form_item form_item_a">
                        <h2 class="form_item_title">料片最大重量</h2>
                        <div class="input_c input_c_short input_c_numeric">
                            <input id="QX_LPMaxWeight" name="" placeholder="" type="text" class="form-control required" />
                        </div>
                        <div class="aftern">kg</div>
                    </li>
                    <li class="form_item form_item_a">
                        <h2 class="form_item_title">过滤精度</h2>
                        <div class="input_c input_c_short input_c_numeric">
                            <input id="QX_FiltAccu" name="" placeholder="" type="text" class="form-control required" />
                        </div>
                        <div class="aftern">um</div>
                    </li>
                    <li class="form_item form_item_a">
                        <h2 class="form_item_title">料垛最大重量</h2>
                        <div class="input_c input_c_short input_c_numeric">
                            <input id="QX_LDMaxWeight" name="" placeholder="" type="text" class="form-control required" />
                        </div>
                        <div class="aftern">kg</div>
                    </li>
                    <li class="form_item form_item_a">
                        <h2 class="form_item_title">清洗精度</h2>
                        <div class="input_c input_c_short input_c_numeric">
                            <input id="QX_CleanAccuracy" name="" placeholder="" type="text" class="form-control required" />
                        </div>
                        <div class="aftern">um</div>
                    </li>
                    <li class="clear"></li>
                </ul>
            </div>
            <div class="tab-pane fade" id="S5">
                <ul class="form_list S S5">
                    <li class="form_item">
                        <h2 class="form_item_title">使用单位</h2>
                        <div class="input_c input_c_normal">
                            <input name="EquipUnit" placeholder="" readonly="readonly" type="text" class="form-control required" />
                        </div>
                    </li>
                    <li class="form_item">
                        <h2 class="form_item_title">使用车间</h2>
                        <div class="input_c input_c_normal">
                            <input name="EquipWorkshop" placeholder="" readonly="readonly" type="text" class="form-control required" />
                        </div>
                    </li>
                    <li class="form_item">
                        <h2 class="form_item_title">设备编号</h2>
                        <div class="input_c">
                            <input name="EquipNO" placeholder="" readonly="readonly" type="text" class="form-control required" />
                        </div>
                    </li>
                    <li class="form_item">
                        <h2 class="form_item_title">设备名称</h2>
                        <div class="input_c">
                            <input name="EquipName" placeholder="" readonly="readonly" type="text" class="form-control required" />
                        </div>
                    </li>
                    <li class="form_item form_item_a">
                        <h2 class="form_item_title">天车小车主动轮径</h2>
                        <div class="input_c input_c_short input_c_numeric">
                            <input id="TC_XCZDLJ" name="" placeholder="" type="text" class="form-control required" />
                        </div>
                        <div class="aftern">mm</div>
                    </li>
                    <li class="form_item form_item_a">
                        <h2 class="form_item_title">天车小车被动轮径</h2>
                        <div class="input_c input_c_short input_c_numeric">
                            <input id="TC_XCBDLJ" name="" placeholder="" type="text" class="form-control required" />
                        </div>
                        <div class="aftern">mm</div>
                    </li>
                    <li class="form_item form_item_a">
                        <h2 class="form_item_title">天车主起升起重量</h2>
                        <div class="input_c input_c_short input_c_numeric">
                            <input id="TC_ZQSQZL" name="" placeholder="" type="text" class="form-control required" />
                        </div>
                        <div class="aftern">mm</div>
                    </li>
                    <li class="form_item form_item_a">
                        <h2 class="form_item_title">天车副起升起重量</h2>
                        <div class="input_c input_c_short input_c_numeric">
                            <input id="TC_FQSQZL" name="" placeholder="" type="text" class="form-control required" />
                        </div>
                        <div class="aftern">T</div>
                    </li>
                    <li class="form_item form_item_a">
                        <h2 class="form_item_title">天车主起升最大起升高度</h2>
                        <div class="input_c input_c_short input_c_numeric">
                            <input id="TC_ZQSZDSQGD" name="" placeholder="" type="text" class="form-control required" />
                        </div>
                        <div class="aftern">m</div>
                    </li>
                    <li class="form_item form_item_a">
                        <h2 class="form_item_title">天车副起升最大起升高度</h2>
                        <div class="input_c input_c_short input_c_numeric">
                            <input id="TC_FQSZDSQGD" name="" placeholder="" type="text" class="form-control required" />
                        </div>
                        <div class="aftern">um</div>
                    </li>
                    <li class="form_item form_item_a">
                        <h2 class="form_item_title">天车主起升卷筒直径</h2>
                        <div class="input_c input_c_short input_c_numeric">
                            <input id="TC_ZQSJTZJ" name="" placeholder="" type="text" class="form-control required" />
                        </div>
                        <div class="aftern">mm</div>
                    </li>
                    <li class="form_item form_item_a">
                        <h2 class="form_item_title">天车副起升卷筒直径</h2>
                        <div class="input_c input_c_short input_c_numeric">
                            <input id="TC_FQSJTZJ" name="" placeholder="" type="text" class="form-control required" />
                        </div>
                        <div class="aftern">mm</div>
                    </li>
                    <li class="form_item form_item_a">
                        <h2 class="form_item_title">天车大车主动轮径</h2>
                        <div class="input_c input_c_short input_c_numeric">
                            <input id="TC_DCZDLJ" name="" placeholder="" type="text" class="form-control required" />
                        </div>
                        <div class="aftern">mm</div>
                    </li>
                    <li class="form_item form_item_a">
                        <h2 class="form_item_title">天车大车被动轮径</h2>
                        <div class="input_c input_c_short input_c_numeric">
                            <input id="TC_DCBDLJ" name="" placeholder="" type="text" class="form-control required" />
                        </div>
                        <div class="aftern">mm</div>
                    </li>
                    <li class="form_item form_item_a">
                        <h2 class="form_item_title">电葫芦大车主动轮径</h2>
                        <div class="input_c input_c_short input_c_numeric">
                            <input id="DHL_DCZDLJ" name="" placeholder="" type="text" class="form-control required" />
                        </div>
                        <div class="aftern">mm</div>
                    </li>
                    <li class="form_item form_item_a">
                        <h2 class="form_item_title">电葫芦大车被动轮径</h2>
                        <div class="input_c input_c_short input_c_numeric">
                            <input id="DHL_DCBDLJ" name="" placeholder="" type="text" class="form-control required" />
                        </div>
                        <div class="aftern">mm</div>
                    </li>
                    <li class="form_item form_item_a">
                        <h2 class="form_item_title">电葫芦起升起重量</h2>
                        <div class="input_c input_c_short input_c_numeric">
                            <input id="DHL_QSQZL" name="" placeholder="" type="text" class="form-control required" />
                        </div>
                        <div class="aftern">T</div>
                    </li>
                    <li class="form_item form_item_a">
                        <h2 class="form_item_title">电葫芦最大起升高度</h2>
                        <div class="input_c input_c_short input_c_numeric">
                            <input id="DHL_ZDQSGD" name="" placeholder="" type="text" class="form-control required" />
                        </div>
                        <div class="aftern">m</div>
                    </li>
                    <li class="clear"></li>
                </ul>
            </div>
        </div>
        <footer>
            <div class="btn-group">
                <a id="butnAdd" class="btn btn-primary center-block"><span class="glyphicon glyphicon-{icon}"></span>{val}</a>
                <a id="butnCancel" class="btn btn-primary center-block"><span class="glyphicon glyphicon-off"></span>关闭</a>
            </div>
        </footer>
    </div>
</div>










